package com.fintech.third.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fintech.third.dao.ThirdProductChannelMappper;
import com.fintech.third.model.ThirdProductChannel;
import com.marvels.common.utils.MarvelsLogUtil;

@Service("thirdChannelUserQuery")
public class ThirdChannelUserQueryImpl implements ThirdChannelUserQueryService{
	@Autowired
	private ThirdProductChannelMappper thirdProductChannelMappper;
	@Override
	public ThirdProductChannel queryAvailableChannel(String productType) {
		MarvelsLogUtil.getInstance().info("==================查询第三方产品可用通道查询开始");
		ThirdProductChannel productChannelDto = new ThirdProductChannel();
		productChannelDto = thirdProductChannelMappper.queryAvailableChannel(productType);
		MarvelsLogUtil.getInstance().info("==================查询第三方产品可用通道查询结束");
		return productChannelDto;
	}
}
